﻿using Microsoft.VisualStudio.Text.Formatting;


namespace BasicallyNot.CodeTransformers.Searchers
{

	internal interface IVisualSearcher
	{

		void Match( VisualSearcherEventArg arg, ref VisualSearchResult result );

	}



	internal class VisualSearcherEventArg
	{

		internal string LineText { get; private set; }
		internal string Keyword { get; set; }

		internal VisualSearcherEventArg( string lineText )
		{
			LineText = lineText;
		}

	}



	internal class VisualSearchResult
	{

		internal bool IsMatch { get; set; }
		internal int MatchIndex { get; set; }

	}

}
